<?php echo $this->render('header.phtml'); ?>
<table>
  <tr>
    <th>Title</th>
    <th>Artist</th>
    <th>&nbsp;</th>
  </tr>
  
  <?php foreach($this->albums as $album) : ?>
  <tr>
    <td><?php echo $this->escape($album->title); ?></td>
    <td><?php echo $this->escape($album->artist); ?></td>
    <td><a href="/album/edit/id/<?php echo $album->id; ?>">Edit</a>
    <a href="/album/delete/id/<?php echo $album->id; ?>">Delete</a></td>
  </tr>
  <?php endforeach; ?>
</table>
<br /><br />
<div>
<a href="/album/add">Add New Album</a>
</div>

<?php echo $this->render('footer.phtml'); ?>